package com.weipai.education.service;

import com.weipai.education.model.CusRecord;
import com.weipai.education.model.Customer;
import com.weipai.education.model.api.Response;

import javax.validation.constraints.NotBlank;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/10 17:21
 */
public interface CustomerService {
    
    //客户新增--修改
    Response save(Customer customer, String goodsBarCode, String productId);

    //更改客户的状态
    Response changeStatus(String id);

    //分页查询
    Response list(Integer page, Integer size, String key, String type);

    //添加与客户的沟通记录
    Response saveCusRecord(CusRecord cusRecord);

    //获取用户的详情
    Response getCustomerInfo(String customerId);

    //查询与客户的沟通记录
    Response getCusRecord(String customerId);

    Response saveCusTakeGoods(String customerId, String goodsBarCode, String productId);
}
